home *** CD-ROM | disk | FTP | other *** search
-
- If you are unfamiliar with a system like UNIX using file or
- directory names with spaces in them works something like this:
-
- H/UX is evaluating the command line as three 'commands'. Each
- 'command' is seperated by a space. The first 'command' is the action
- to take, the second is the subject of that action and the third (only
- used in copy, move and rename) is the is the new name/location of the
- subject. Anyway if one of those 'commands' has a space in it, this
- obviously messes up this system. On UNIX and DOS systems the answer
- is to avoid names with spaces in them, but that is hardly acceptable
- for most mac users. The answer in this case then is to use quotation
- marks to make it clear what is a 'command'. Anything in quotes is
- considered to be one 'command'. This is done like so. To move the file
- *BBS list* you would type *move "BBS list" Hermes*. That would move the
- file *BBS list* from the current directory into a folder called *Hermes*
- also in the current directory.
- When using quotes, everything in the command goes in quotes, not
- just the part with the space. If you wanted to move *BBS list* down
- several levels of folder you would put the whole thing in quotes if any
- part of it had a space in it, like so
- *move "BBS list" "Hermes:Hermes Files:Externals"*. That would move
- *BBS list* down several layers of directories.
- Anyway I hope this is a little clearer. If you have a problem
- please let me know and I will try and explain how H/UX expects things.
- I myself don't really know all that much about UNIX so I sort of
- hacked this all out how I thought it was supposed to look.
-
- BTW while I'm on this subject, there are a couple more hints that may
- make things easier. First is that case doesn't matter. This wasn't my
- decision, the mac OS ignores it. *BBS list* is the same thing as
- *bbs list*. It may be easier if you can get used to it to ignore case.
- Second when using quotes you don't have to include the very last quote
- if you don't want. If it is only a two 'command' line you can leave
- off the last quote on the second 'command'. If it is a three word
- 'command' you have to have both on the second word but not on the
- third one.
-
- Thanks,
-
- Chris
-